package com.feiyuan.core.mapper;

import com.feiyuan.core.pojo.entity.AdminMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import feign.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Xupf
 * @since 2022-09-06
 */
public interface AdminMenuMapper extends BaseMapper<AdminMenu> {

    /**
     * 通过用户ID查询菜单列表
     * @param id
     * @return
     */
    List<AdminMenu> selectMenus(@Param("id") Long id);
}
